package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分设置对象 int_set
 * 
 * @author hanning
 * @date 2021-08-23
 */
public class IntSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer communityId;

    /** 设置类型 */
    @Excel(name = "设置类型")
    private String type;

    /** 设置项 */
    @Excel(name = "设置项")
    private String name;

    /** 积分数 */
    @Excel(name = "积分数")
    private Integer price;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 启用 */
    @Excel(name = "启用")
    private Boolean enable;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPrice(Integer price)
    {
        this.price = price;
    }

    public Integer getPrice()
    {
        return price;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setEnable(Boolean enable)
    {
        this.enable = enable;
    }

    public Boolean getEnable()
    {
        return enable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("type", getType())
            .append("name", getName())
            .append("price", getPrice())
            .append("unit", getUnit())
            .append("enable", getEnable())
            .toString();
    }
}
